﻿using System;
using System.Collections.Generic;
using System.Text;
using Workflow.Entity;
using Workflow.Interface;
using System.Collections;
using MyLib;

namespace Workflow.Logic
{
    class UltimusCategoryLogic : IProcessCategory
    {
        public List<ProcessCategoryEntity> GetList()
        {
            List<ProcessCategoryEntity> list= DataAccess.Instance("BizDB").GetList<ProcessCategoryEntity>("ProcessCategoryLogic_GetList", null);
            return list;
        }

        public List<ProcessEntity> GetProcessList(string categoryName)
        {
            return DataAccess.Instance("BizDB").GetList<ProcessEntity>("ProcessCategoryLogic_GetProcessList", categoryName);
        }
    }
}
